package com.quartertone.summingcells;

import android.content.Context;
import android.graphics.Canvas;
import android.graphics.Color;
import android.graphics.Path;
import android.graphics.drawable.ShapeDrawable;
import android.graphics.drawable.shapes.PathShape;
import android.view.View;

public class SummingGrid extends View {
	private ShapeDrawable myGrid;
	public SummingGrid (Context context) {
		super(context);
		Path myPath;
		myPath = new Path();
		myPath.offset(70,70);
		myPath.rMoveTo(90,120);
		myGrid = new ShapeDrawable(new PathShape(myPath,100,100));
		myGrid.getPaint().setColor(Color.RED);
	}
	
	protected void onDraw(Canvas canvas) {
			myGrid.draw(canvas);
	}
}
